import requests
print('散小战出品TT语音反后三')
print('TT语音反后三')
def validate_username(username):
    if username.isdigit() and len(username) <= 10:
        return True
    else:
        return False
def main():
    username = input("请输入TT账号: ")
    if validate_username(username):
        url = f"https://zy-api.rzhushou.com/security/summary?username={username}&callback=f7jsonp_17168953057310&debug=0&app=12&new_entry=unlogin"
        response = requests.get(url)
        # 这里返回完整的响应内容
        print(response.text)
    else:
        print("输入不符合要求，请输入不高于 10 位的数字。")
if __name__ == "__main__":
    main()
